﻿using System.Web.Mvc;

namespace ZBJF.Warranty.AdminSite.Areas.Cleaning
{
    public class ServiceProjectAreaRegistration : AreaRegistration 
    {
        public override string AreaName 
        {
            get 
            {
                return "Cleaning";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context) 
        {
            context.MapRoute(
                "Cleaning_default",
                "Cleaning/{controller}/{action}/{id}",
                new { action = "Index", id = UrlParameter.Optional },
                  new string[] { "ZBJF.Warranty.AdminSite.Areas.Cleaning.Controllers" }
            );
        }
    }
}